<?php $this->load->view('admin_panel/header');?>
	<div id="content">
        <?php echo feedback($this->session->flashdata('error_message'), '<div class="error-message">', '</div>');?>
        <?php echo feedback($this->session->flashdata('success_message'), '<div class="success-message">', '</div>');?>
        <div class="clear"></div>
        <?php if($genres):?>
        <div class="col1" style="width:18%">
            <ul>
                <li><a href="<?php echo site_url('admin_panel/song/main/');?>" title="all songs"> - - All Song Genres - -</a></li>
                <?php foreach($genres as $genre):?>
                <li><a href="#<?php //echo site_url('admin_panel/song/main/'.$genre->id);?>" title="<?php echo $genre->name;?>"><?php echo $genre->name;?></a></li>
                <?php endforeach;?>
            </ul>
        </div>
        <?php endif;?>
		<div class="data-table">
			<div style="width:80%;float:right;">
                <h2>Songs Control Panel</h2>
                <ul class="song-list">
                    <li><?php echo $output; ?></li>
                </ul>
			</div>
		</div>
	</div>
<?php $this->load->view('admin_panel/footer');?>